-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.9.4 (latest)
-
Code
-
Classes
- UserQuizModel
| Total Complexity |
76 |
| Dependencies |
14 |
| Dependents |
3 |
| Total lines |
607 |
| Lines of code |
364 |
| Logical lines of code |
205 |
| Comment lines |
163 |
| Methods |
20 |
| Properties |
2 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| calculate_quiz_result() |
B |
36 |
15 |
84 |
| check_can_start() |
A |
42 |
10 |
53 |
| check_can_retake() |
A |
45 |
10 |
40 |
| get_history() |
S |
56 |
6 |
18 |
| get_result() |
S |
50 |
5 |
31 |
| get_attempts() |
S |
57 |
5 |
16 |
| retake() |
S |
50 |
3 |
28 |
| get_time_remaining() |
S |
59 |
3 |
15 |
| get_status_label() |
S |
60 |
3 |
13 |
| start_quiz() |
S |
62 |
2 |
11 |
| get_question_ids() |
S |
65 |
2 |
9 |
| get_remaining_retake() |
S |
64 |
2 |
10 |
| get_checked_questions() |
S |
65 |
2 |
10 |
| get_time_spend() |
S |
67 |
2 |
8 |
| __construct() |
S |
80 |
1 |
3 |
| get_quiz_post_model() |
S |
79 |
1 |
3 |
| get_course_model() |
S |
79 |
1 |
3 |
| get_user_course_model() |
S |
79 |
1 |
3 |
| get_status() |
S |
82 |
1 |
3 |
| get_retaken_count() |
S |
79 |
1 |
3 |